package com.nightpiter.model.exceptions;

/**
 * superclass for all possible exceptions thrown during the building of the
 * MetroModel
 * 
 * @author Eldar Abusalimov (eldar.abusalimov@gmail.com)
 */

@SuppressWarnings("serial")
public class ModelNotAssignedBuilderException extends BuilderException {
	/**
	 * standard error message
	 */
	private static final String MESSAGE = "NULL passed to Builder's constructor";

	/**
	 * 
	 */
	public ModelNotAssignedBuilderException() {
		super(MESSAGE);
	}

	/**
	 * @param detailMessage
	 */
	public ModelNotAssignedBuilderException(String detailMessage) {
		super(MESSAGE + " : " + detailMessage);
	}

	/**
	 * @param throwable
	 */
	public ModelNotAssignedBuilderException(Throwable throwable) {
		super(throwable);
	}

	/**
	 * @param detailMessage
	 * @param throwable
	 */
	public ModelNotAssignedBuilderException(String detailMessage,
			Throwable throwable) {
		super(MESSAGE + " : " + detailMessage, throwable);
	}

}
